package com.skyline.energy.transaction;

public class TransactionContextHolder {
	private static final ThreadLocal<TransactionContext> CONTEXT = new ThreadLocal<TransactionContext>();
	
	public static TransactionContext getContext() {
		return CONTEXT.get();
	}
	
	public static void setContext(TransactionContext context) {
		CONTEXT.set(context);
	}
}
